import { constantRoutes } from '@/router';
export type MenuState = {
    menuList: Array<any>,
    defaultList: Array<any>,
}

export const state: MenuState = {
    menuList: constantRoutes,
    defaultList: [],
};

export const getters = {
    menuList: (state: MenuState) => state.menuList,
    defaultList: (state: MenuState) => state.defaultList,
}
